import {
	createRouter,
	createWebHashHistory
} from 'vue-router'
const routerHash = createWebHashHistory();

import SchoolRouter from './school-router.js'

const Home = () => import('@/views/Home/Home.vue');
const Login = () => import('@/views/Login/Login.vue');


export default createRouter({
	history: routerHash,
	routes: [{
			path: '/',
			name: 'Home',
			component: Home
		},
		{
			path: '/Login',
			name: 'Login',
			component: Login
		},
		...SchoolRouter
	]
});
